package com.sskj.hangqing.bean;


import com.sskj.lib.util.NumberUtil;

public class TradeBean {


    /**
     * time : 19:18:05
     * cj_type : 1
     * price : 7880.10000000
     * num : 0.00152282
     */

    private String time;
    private String cj_type;
    private String price;
    private String num;

    public TradeBean(String time, String cj_type, String price, String num) {
        this.time = time;
        this.cj_type = cj_type;
        this.price = price;
        this.num = num;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getCj_type() {
        return cj_type;
    }

    public void setCj_type(String cj_type) {
        this.cj_type = cj_type;
    }

    public String getPrice() {
        return NumberUtil.keepNoZero(price);
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getNum() {
        return NumberUtil.keepPankouNum(num);
    }

    public void setNum(String num) {
        this.num = num;
    }
}
